package com.socket.entity;

/**
 * Created by sh04799 on 2017/10/20.
 */

public class BmsEntity {
    private long lat;
    private long lon;
    private int altitude;
    private int speed;
    private int carWidth;
    private int carLong;

    public BmsEntity() {
    }

	public BmsEntity(long lat, long lon, int altitude, int speed, int carWidth,
			int carLong) {
		super();
		this.lat = lat;
		this.lon = lon;
		this.altitude = altitude;
		this.speed = speed;
		this.carWidth = carWidth;
		this.carLong = carLong;
	}

	public long getLat() {
		return lat;
	}

	public void setLat(long lat) {
		this.lat = lat;
	}

	public long getLon() {
		return lon;
	}

	public void setLon(long lon) {
		this.lon = lon;
	}

	public int getAltitude() {
		return altitude;
	}

	public void setAltitude(int altitude) {
		this.altitude = altitude;
	}

	public int getSpeed() {
		return speed;
	}

	public void setSpeed(int speed) {
		this.speed = speed;
	}

	public int getCarWidth() {
		return carWidth;
	}

	public void setCarWidth(int carWidth) {
		this.carWidth = carWidth;
	}

	public int getCarLong() {
		return carLong;
	}

	public void setCarLong(int carLong) {
		this.carLong = carLong;
	}

	@Override
	public String toString() {
		return "BmsEntity [lat=" + lat + ", lon=" + lon + ", altitude="
				+ altitude + ", speed=" + speed + ", carWidth=" + carWidth
				+ ", carLong=" + carLong + "]";
	}
	

}
